package dao;

import java.util.Collection;

import model.PerformBean;
import web.dao.GenericDao;
import web.model.UUID;

public class PerformDao extends GenericDao<PerformBean> {

	public Collection<PerformBean> getPerformByAlbumId(UUID album) {
		Collection<PerformBean> performs = findByProperty("album", album);
		return performs;
	}

	public Collection<PerformBean> getPerformByArtistId(UUID artist) {
		Collection<PerformBean> performs = findByProperty("artist", artist);
		return performs;
	}
}
